#ifndef PIECE_H
#define PIECE_H

#include <vector>
#include <string>

#include "trackballcamera.h"
#include "sdlglutils.h"
#include "graphisme.h"

class Echiquier;

class Piece
{
	public :
	Piece(string a_nom = "Vide", int a_couleur = -1, int a_x = -1, int a_y = -1, int a_z = -1, int a_passant = 0);
	void trace(GLUquadric* params);
	void bouge_piece(int xa, int ya, int za);
	string get_nom();
	int get_couleur();
	int get_x();
	int get_y();
	int get_z();
	void deplacement (Echiquier *echi, vector<int> *tab);

	private :
	string nom;
	int x;
	int y;
	int z;
	int couleur;
	int passant;
	
};

#endif
